package com.liuyu.common.framework.rocketmq.vo;

import lombok.Getter;

/**
 * @ClassName QueueType
 * @Author: liuyu
 * @Date: Created in 2021/1/12 9:16
 * @Version: 1
 * @Modified By:
 */
public enum QueueType {
    /**
     * 订单
     */
    ORDER("0", "订单"),
    /**
     * 合并收支
     */
    MERGE_PAY("1", "合并收支请求"),
    /**
     * 开方API请求
     */
    API_REQUEST("2", "API请求"),
    /**
     * 开方API响应
     */
    API_RESPONSE("3", "API响应"),
    /**
     * 保司请求
     */
    INSURANCE_REQUEST("4", "保司请求"),
    /**
     * 保司响应
     */
    INSURANCE_RESPONSE("5", "保司响应"),
    /**
     * 证件校验持久化
     */
    IDENTITY_PERSISTENT("6", "证件校验持久化"),
    /**
     * 证件校验查询
     */
    IDENTITY_QUERY("7", "证件校验查询"),
    /**
     * 预订单
     */
    PRE_ORDER("8", "预订单"),
    /**
     * 订单支付通知
     */
    PAY_ORDER("9", "订单支付通知"),

    /**
     * 订单退款通知
     */
    REFUND_ORDER("10", "订单退款通知"),
    /**
     * 订单查询，实际上不真实发送消息
     */
    ORDER_QUERY("11", "订单查询"),
    /**
     * 订单查询，实际上不真实发送消息
     */
    PAY_QUERY("12", "支付查询"),
    /**
     * 订单查询，实际上不真实发送消息
     */
    REFUND_QUERY("13", "退款查询"),
    /**
     * 订单退款完成通知
     */
    REFUND_ORDER_COMPLETE("14", "订单退款完成通知"),
    /**
     * 支付订单处理完毕
     */
    PAY_COMPLETE("15", "支付订单处理完成"),

    /**
     * 订单回调
     */
    ORDER_CALL_BACK("16", "订单回调"),
    /**
     * 订单回调给客户
     */
    ORDER_NOTICE_CUSTOMER("17", "订单通知给客户"),


    /**
     * 医保校验查询
     */
    MEDICAL_IDENTITY_QUERY("18", "医保校验查询"),


    /**
     * 医保校验持久化
     */
    MEDICAL_IDENTITY_PERSISTENT("19", "医保校验持久化");

    @Getter
    private String code;
    @Getter
    private String description;

    QueueType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    QueueType(String description) {
        this.description = description;
    }
}
